|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.bsvrz.dav.daf.main.impl.config.DafSystemObject
de.bsvrz.dav.daf.main.impl.config.DafConfigurationObject
de.bsvrz.dav.daf.main.impl.config.DafAttribute
public class DafAttribute
Klasse, die den Zugriff auf Attribute seitens der Datenverteiler-Applikationsfunktionen ermöglicht.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
DafAttribute(DafDataModel dataModel)
Erzeugt ein neues Objekt dessen Eigenschaften im Anschluss mit der read-Methode eingelesen werden sollten. |
|
DafAttribute(long id,
String pid,
String name,
long typId,
byte state,
String error,
DafDataModel dataModel,
short validFromVersionNumber,
short validToVersionNumber,
long responsibleObjectId,
long[] setIds,
short attributePosition,
int arraySize,
boolean isDynamicArray,
long attributeTypeId,
String defaultAttributeValue)
Erzeugt ein neues Objekt mit den angegebenen Eigenschaften |
|
| Method Summary | |
|---|---|
AttributeType |
getAttributeType()
Bestimmt den Typ dieses Attributs über den ein Zugriff auf die Eigenschaften von konkreten Attributwerten ermöglicht wird. |
String |
getDefaultAttributeValue()
Ermittelt den Default-Attributwert dieses Attribut. |
int |
getMaxCount()
Bestimmt, ob die maximale Feldgröße dieses Attributs beschränkt ist. |
int |
getPosition()
Bestimmt die Position eines Attributs oder einer Attributliste in der übergeordneten Attributmenge (Attributgruppe bzw. |
boolean |
isArray()
Bestimmt, ob dieses Attribut ein Feld ist. |
boolean |
isCountLimited()
Bestimmt, ob die Feldgröße dieses Attributs durch eine Obergrenze beschränkt ist. |
boolean |
isCountVariable()
Bestimmt, ob die Feldgröße dieses Attributs variieren kann. |
String |
parseToString()
Liefert eine textuelle Beschreibung dieses Objekts für Debug-Zwecke zurück. |
void |
read(DataInputStream in)
Deserialisiert dieses Objekt. |
void |
write(DataOutputStream out)
Serialisiert dieses Objekt. |
| Methods inherited from class de.bsvrz.dav.daf.main.impl.config.DafConfigurationObject |
|---|
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, isValid, removeSet, revalidate |
| Methods inherited from class de.bsvrz.dav.daf.main.impl.config.DafSystemObject |
|---|
compareTo, equals, getConfigurationArea, getConfigurationAreaId, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getInternType, getName, getNameOrPidOrId, getObject, getPid, getPidOrId, getPidOrNameOrId, getState, getType, getUsedAttributeGroupUsages, hashCode, invalidate, isOfType, isOfType, setConfigurationData, setConfigurationData, setConfigurationData, setName, storeName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.bsvrz.dav.daf.main.config.ConfigurationObject |
|---|
addSet, duplicate, duplicate, getMutableSet, getNonMutableSet, getNotValidSince, getObjectSet, getObjectSets, getValidSince, removeSet, revalidate |
| Methods inherited from interface de.bsvrz.dav.daf.main.config.SystemObject |
|---|
getConfigurationArea, getConfigurationData, getConfigurationData, getConfigurationData, getDataModel, getId, getInfo, getName, getNameOrPidOrId, getPid, getPidOrId, getPidOrNameOrId, getType, getUsedAttributeGroupUsages, invalidate, isOfType, isOfType, isValid, setConfigurationData, setConfigurationData, setConfigurationData, setName, toString |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public DafAttribute(DafDataModel dataModel)
dataModel - DataModel Implementierung, der das neue Objekt zugeordnet ist.
public DafAttribute(long id,
String pid,
String name,
long typId,
byte state,
String error,
DafDataModel dataModel,
short validFromVersionNumber,
short validToVersionNumber,
long responsibleObjectId,
long[] setIds,
short attributePosition,
int arraySize,
boolean isDynamicArray,
long attributeTypeId,
String defaultAttributeValue)
| Method Detail |
|---|
public final String parseToString()
DafSystemObject
parseToString in class DafConfigurationObject
public final void write(DataOutputStream out)
throws IOException
DafSystemObject
write in class DafConfigurationObjectout - Stream auf den das Objekt geschrieben werden soll.
IOException
public final void read(DataInputStream in)
throws IOException
DafSystemObject
read in class DafConfigurationObjectin - Stream von dem das Objekt gelesen werden soll.
IOExceptionpublic final AttributeType getAttributeType()
Attribute
getAttributeType in interface Attributepublic final int getMaxCount()
Attribute
getMaxCount in interface Attributepublic final int getPosition()
Attribute
getPosition in interface Attribute1.public final boolean isCountLimited()
Attribute
isCountLimited in interface Attributetrue, wenn die Anzahl der Werte beschränkt ist;false, wenn die
Anzahl der Werte nicht beschränkt ist.public final boolean isCountVariable()
Attribute
isCountVariable in interface Attributetrue, wenn die Anzahl der Werte dieses Attributs mit jedem Datensatz variieren
kann;false, wenn die Anzahl der Werte fix ist.public final boolean isArray()
Attribute
isArray in interface Attributetrue, wenn dieses Attribut ein Feld ist;false, wenn dieses
Attribut kein Feld ist.public String getDefaultAttributeValue()
Attribute
getDefaultAttributeValue in interface Attributenull falls kein Defaultwert festgelegt wurde.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||